import request from '@/utils/request';

export async function fakeAccountLogin(params) {
  return request('/api/login/account', {
    method: 'POST',
    data: params,
  });
}
export async function getFakeCaptcha(mobile) {
  return request(`/jmonkey/ca/validate/getImageCode`);
}

export async function login(data) {
  return request('/jmonkey/ca/login/general', {
    method: 'POST',
    data,
  });
}